# -*- coding: utf-8 -*-
from scra.tc58.tc58.agent_list import agent_random
from scra.tc58.tc58.ip_pro_test import ip_randm_get
import requests
urls='https://yt.58.com/ershoufang/p1/'
proxys=ip_randm_get()
proxys.Take_one_ip()
proxise={
    'http':'http://'+proxys.ip
}
agent={
    'user-agent':agent_random
}
html=requests.get(url=urls,headers=agent,proxies=proxise)
print(html.text)